\hypertarget{mmu_8c}{
\section{/home/carminha/workspace/os-\/raphael-\/shanshan/trunk/mmu.c File Reference}
\label{mmu_8c}\index{/home/carminha/workspace/os-\/raphael-\/shanshan/trunk/mmu.c@{/home/carminha/workspace/os-\/raphael-\/shanshan/trunk/mmu.c}}
}
{\ttfamily \#include $<$stdio.h$>$}\par
{\ttfamily \#include $<$stdlib.h$>$}\par
{\ttfamily \#include $<$unistd.h$>$}\par
{\ttfamily \#include $<$string.h$>$}\par
{\ttfamily \#include $<$sys/select.h$>$}\par
{\ttfamily \#include \char`\"{}auxiliaire.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}types.h\char`\"{}}\par
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__TLB__entry}{\_\-TLB\_\-entry}
\item 
struct \hyperlink{struct__TLB__table}{\_\-TLB\_\-table}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{struct__TLB__entry}{\_\-TLB\_\-entry} \hyperlink{mmu_8c_a5d27b74f871e780e90ef4f3e26134297}{TLB\_\-entry}
\item 
typedef struct \hyperlink{struct__TLB__table}{\_\-TLB\_\-table} \hyperlink{mmu_8c_a8dae9418837d352993a7d5451c7c022c}{TLB\_\-table}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{mmu_8c_a99e6ee980cf373e528c942815d0b98a5}{resetTLB} (\hyperlink{struct__tlb__table}{TLB\_\-table} $\ast$tlb, int entry\_\-num)
\item 
void \hyperlink{mmu_8c_a6c822850e48df53024e6e17e4a89f457}{deleteTLB} (\hyperlink{struct__tlb__table}{TLB\_\-table} $\ast$tlb)
\item 
int \hyperlink{mmu_8c_aee124cdbbd85645bf4a7103d8e509247}{cadreAssocie} (\hyperlink{struct__tlb__table}{TLB\_\-table} tlb, int page)
\item 
void \hyperlink{mmu_8c_ae6462e781b91dceb7c32ad0fb17995f4}{addTLB} (\hyperlink{struct__tlb__table}{TLB\_\-table} $\ast$tlb, int page, int cadre)
\item 
int \hyperlink{mmu_8c_a3c04138a5bfe5d72780bb7e82a18e627}{main} (int argc, char $\ast$$\ast$argv)
\end{DoxyCompactItemize}


\subsection{Typedef Documentation}
\hypertarget{mmu_8c_a5d27b74f871e780e90ef4f3e26134297}{
\index{mmu.c@{mmu.c}!TLB\_\-entry@{TLB\_\-entry}}
\index{TLB\_\-entry@{TLB\_\-entry}!mmu.c@{mmu.c}}
\subsubsection[{TLB\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \_\-TLB\_\-entry} {\bf TLB\_\-entry}}}
\label{mmu_8c_a5d27b74f871e780e90ef4f3e26134297}
\hypertarget{mmu_8c_a8dae9418837d352993a7d5451c7c022c}{
\index{mmu.c@{mmu.c}!TLB\_\-table@{TLB\_\-table}}
\index{TLB\_\-table@{TLB\_\-table}!mmu.c@{mmu.c}}
\subsubsection[{TLB\_\-table}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \_\-TLB\_\-table}  {\bf TLB\_\-table}}}
\label{mmu_8c_a8dae9418837d352993a7d5451c7c022c}


\subsection{Function Documentation}
\hypertarget{mmu_8c_ae6462e781b91dceb7c32ad0fb17995f4}{
\index{mmu.c@{mmu.c}!addTLB@{addTLB}}
\index{addTLB@{addTLB}!mmu.c@{mmu.c}}
\subsubsection[{addTLB}]{\setlength{\rightskip}{0pt plus 5cm}void addTLB (
\begin{DoxyParamCaption}
\item[{{\bf TLB\_\-table} $\ast$}]{ tlb, }
\item[{int}]{ page, }
\item[{int}]{ cadre}
\end{DoxyParamCaption}
)}}
\label{mmu_8c_ae6462e781b91dceb7c32ad0fb17995f4}
\hypertarget{mmu_8c_aee124cdbbd85645bf4a7103d8e509247}{
\index{mmu.c@{mmu.c}!cadreAssocie@{cadreAssocie}}
\index{cadreAssocie@{cadreAssocie}!mmu.c@{mmu.c}}
\subsubsection[{cadreAssocie}]{\setlength{\rightskip}{0pt plus 5cm}int cadreAssocie (
\begin{DoxyParamCaption}
\item[{{\bf TLB\_\-table}}]{ tlb, }
\item[{int}]{ page}
\end{DoxyParamCaption}
)}}
\label{mmu_8c_aee124cdbbd85645bf4a7103d8e509247}
\hypertarget{mmu_8c_a6c822850e48df53024e6e17e4a89f457}{
\index{mmu.c@{mmu.c}!deleteTLB@{deleteTLB}}
\index{deleteTLB@{deleteTLB}!mmu.c@{mmu.c}}
\subsubsection[{deleteTLB}]{\setlength{\rightskip}{0pt plus 5cm}void deleteTLB (
\begin{DoxyParamCaption}
\item[{{\bf TLB\_\-table} $\ast$}]{ tlb}
\end{DoxyParamCaption}
)}}
\label{mmu_8c_a6c822850e48df53024e6e17e4a89f457}
\hypertarget{mmu_8c_a3c04138a5bfe5d72780bb7e82a18e627}{
\index{mmu.c@{mmu.c}!main@{main}}
\index{main@{main}!mmu.c@{mmu.c}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (
\begin{DoxyParamCaption}
\item[{int}]{ argc, }
\item[{char $\ast$$\ast$}]{ argv}
\end{DoxyParamCaption}
)}}
\label{mmu_8c_a3c04138a5bfe5d72780bb7e82a18e627}
\hypertarget{mmu_8c_a99e6ee980cf373e528c942815d0b98a5}{
\index{mmu.c@{mmu.c}!resetTLB@{resetTLB}}
\index{resetTLB@{resetTLB}!mmu.c@{mmu.c}}
\subsubsection[{resetTLB}]{\setlength{\rightskip}{0pt plus 5cm}void resetTLB (
\begin{DoxyParamCaption}
\item[{{\bf TLB\_\-table} $\ast$}]{ tlb, }
\item[{int}]{ entry\_\-num}
\end{DoxyParamCaption}
)}}
\label{mmu_8c_a99e6ee980cf373e528c942815d0b98a5}
